/**
 * 是否在微信中
 * @returns {boolean}
 */
export function isWhChat () {
  let ua = navigator.userAgent.toLowerCase()
  return ua.indexOf('micromessenger') !== -1
}
